﻿using ChuanYe.CountyFireManagement.Model;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;

namespace ChuanYe.CountyFireManagement.Api.Models
{
    public class GpsDeviceRecordRequest
    {
        /// <summary>
        /// 必填 流水号
        /// </summary>
        public string GpsDeviceRecordGuid { get; set; }

        /// <summary>
        /// 必填 设备号
        /// </summary>
        public string GpsDeviceNo { get; set; }

        /// <summary>
        /// 纬度
        /// </summary>
        public string Latitude { get; set; }

        /// <summary>
        /// 经度
        /// </summary>
        public string Longitude { get; set; }

        /// <summary>
        /// 高度
        /// </summary>
        public string Altitude { get; set; }

        /// <summary>
        /// 精度
        /// </summary>
        public string Accuracy { get; set; }

        /// <summary>
        /// 速度
        /// </summary>
        public string Speed { get; set; }

        /// <summary>
        /// 方位
        /// </summary>
        public string Bearing { get; set; }

        /// <summary>
        /// 选填 客户端保存时间
        /// </summary>
        public DateTime RecordTime { get; set; }

        /// <summary>
        /// 服务器保存时间
        /// </summary>
        public DateTime? CreateTime { get; set; }
    }



    public class GpsDeviceRecordArrayRequest
    {
        /// <summary>
        ///  上载数据集合
        /// </summary>
        public List<GpsDeviceRecordRequest> GpsDeviceRecords { get; set; }
    }

    public class GpsDeviceRecordShearchRequest : RequestPageBase
    {
        /// <summary>
        /// 设备编号
        /// </summary>
        public string GpsDeviceNo { get; set; }
    }
}
